package org.example.demo4.mapper.freight;

import org.apache.ibatis.annotations.Select;
import org.example.demo4.model.SysUserEntity;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * 映射层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    /**
     * 通过用户名查询用户
     *
     * @param userName 用户名
     * @return 用户对象信息
     */
    public SysUserEntity selectUserByUserName(String userName);



    @Select("select upper(url) from sys_edit_url")
    public List<String> getEditUrl();
}
